package com.project.personnel.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.personnel.entity.Employeetrain;
import com.project.personnel.dao.EmployeetrainMapper;
import com.project.personnel.service.EmployeetrainService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author diaominyh
 * @since 2022-12-12
 */
@Service
public class EmployeetrainServiceImpl extends ServiceImpl<EmployeetrainMapper, Employeetrain> implements EmployeetrainService {

    @Resource
    private EmployeetrainMapper employeetrainMapper;
    @Override
    public IPage pageCC(IPage<Employeetrain> page, Wrapper wrapper){
        return employeetrainMapper.pageCC(page,wrapper);
    }

    @Override
    public int deleteById(Integer id) {
        return employeetrainMapper.deleteById(id);
    }
}
